Contribution org.nuxeo.ecm.platform.preview.actions--actions
In component org.nuxeo.ecm.platform.preview.actions
org.nuxeo.ecm.platform.preview.actions
inside nuxeo-platform-preview-5.8.jar
This contribution is part of XML component Extension Point
Extension point actions of component ActionService.Contributed Items
XML Source
<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">
<!-- disable the old tab as we now use the showPreviewPopup action -->
<action enabled="false" icon="/icons/file.gif" id="TAB_PREVIEW" label="label.document.preview" link="/incl/tabs/preview_tab.xhtml" order="200">
<category>VIEW_ACTION_LIST</category>
<filter-id>view_preview</filter-id>
</action>
<action enabled="false" icon="/icons/pdf.png" id="POPUP_PREVIEW" label="label.document.preview" link="javascript:doPreview" order="130">
<category>POPUP</category>
<filter-id>popup_view_preview</filter-id>
</action>
<action enabled="true" icon="/icons/preview.png" id="showFancyBoxPreviewPopup" label="label.document.preview" link="javascript:doPreviewPopup" order="130">
<category>POPUP</category>
<filter-id>popup_view_preview</filter-id>
</action>
<action icon="/icons/contextual_menu/preview.png" id="showFancyBoxPreview" label="label.document.preview" order="50" type="fancybox">
<category>DOCUMENT_UPPER_ACTION</category>
<filter-id>view_preview</filter-id>
<filter-id>not_folder</filter-id>
<filter-id>not_anonymous</filter-id>
<properties>
<property name="iframe">
#{previewActions.getCurrentDocumentPreviewPopupURL()}
</property>
<property name="ajaxSupport">true</property>
</properties>
</action>
</extension>